package com.wendy.config;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * @author zhuwending
 */
@Component
@ConfigurationProperties(prefix = "file.config")
@Data
public class FileConfig {

    private String savePath;
    private String showPath;
    @Value("#{'pictureSuffix'.split(',')}")
    private List<String> pictureSuffix;
}
